Bordering on dysfunction, Congress passed a one-week bill late Friday night to avert a partial shutdown of the Homeland Security Department.